<!-- HTML header for doxygen 1.8.14-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=9">
<meta name="generator" content="Doxygen 1.9.1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Astra SDK: device control apis</title>
<link href="Astra%20SDK_%20device%20control%20apis_files/tabs.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="Astra%20SDK_%20device%20control%20apis_files/jquery.js"></script>
<script type="text/javascript" src="Astra%20SDK_%20device%20control%20apis_files/dynsections.js"></script>
<link href="Astra%20SDK_%20device%20control%20apis_files/doxygen.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Astra%20SDK_%20device%20control%20apis_files/logo-l-en.png" height="44"></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname"><span style="font-family:Georgia">Astra SDK</span>
   &nbsp;<span id="projectnumber" ,="" style="font-family:Georgia">v2.1.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript" src="Astra%20SDK_%20device%20control%20apis_files/menudata.js"></script>
<script type="text/javascript" src="Astra%20SDK_%20device%20control%20apis_files/menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"><ul class="sm sm-dox" id="main-menu" data-smartmenus-id="17409247375095164"><li><a href="https://developer.orbbec.com.cn/technical_library/Astra_SDK2.1.3/html/index.html">首页</a></li><li><a href="https://developer.orbbec.com.cn/technical_library/Astra_SDK2.1.3/html/pages.html">相关页面</a></li></ul></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">device control apis<div class="ingroups"><a class="el" href="https://developer.orbbec.com.cn/technical_library/Astra_SDK2.1.3/html/group__c__ref.html">C 接口参考</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tbody><tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga0b91f9222a1538fe08159855ae4686bb"><td class="memItemLeft" align="right" valign="top">ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="https://developer.orbbec.com.cn/technical_library/Astra_SDK2.1.3/html/group__dev__ctrl__ref.html#ga0b91f9222a1538fe08159855ae4686bb">astra_distortion_enable</a> (astra_streamsetconnection_t connect, int32_t status)</td></tr>
<tr class="separator:ga0b91f9222a1538fe08159855ae4686bb"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:ga0ee02205118bcb8b91f761a248362f8a"><td class="memItemLeft" align="right" valign="top"><a id="ga0ee02205118bcb8b91f761a248362f8a"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_set_ir_gain_value</b> (astra_streamsetconnection_t connect, int32_t value)</td></tr>
<tr class="separator:ga0ee02205118bcb8b91f761a248362f8a"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:gaba775338eb7ec10f3a361018b3523518"><td class="memItemLeft" align="right" valign="top"><a id="gaba775338eb7ec10f3a361018b3523518"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_set_ir_exposure_value</b> (astra_streamsetconnection_t connect, int32_t value)</td></tr>
<tr class="separator:gaba775338eb7ec10f3a361018b3523518"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:gab00d9fb1efe47c1ae0171fe5669ecd34"><td class="memItemLeft" align="right" valign="top"><a id="gab00d9fb1efe47c1ae0171fe5669ecd34"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_ldp_enable</b> (astra_streamsetconnection_t connect, bool enable)</td></tr>
<tr class="separator:gab00d9fb1efe47c1ae0171fe5669ecd34"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:gac6e2cd7d988879d3d1f6f036fb2f6fe6"><td class="memItemLeft" align="right" valign="top"><a id="gac6e2cd7d988879d3d1f6f036fb2f6fe6"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_laser_enable</b> (astra_streamsetconnection_t connect, bool enable)</td></tr>
<tr class="separator:gac6e2cd7d988879d3d1f6f036fb2f6fe6"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:ga75694488d6c3898364bd5e2366111899"><td class="memItemLeft" align="right" valign="top"><a id="ga75694488d6c3898364bd5e2366111899"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_fan_enable</b> (astra_streamsetconnection_t connect, bool enable)</td></tr>
<tr class="separator:ga75694488d6c3898364bd5e2366111899"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:gac4a9f9db60cb579bcfdcb4897a553a30"><td class="memItemLeft" align="right" valign="top"><a id="gac4a9f9db60cb579bcfdcb4897a553a30"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_fan_status</b> (astra_streamsetconnection_t connect, int32_t *value)</td></tr>
<tr class="separator:gac4a9f9db60cb579bcfdcb4897a553a30"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:gae199875a19310421372967d6e63fb0ec"><td class="memItemLeft" align="right" valign="top"><a id="gae199875a19310421372967d6e63fb0ec"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_fan_flash_enable</b> (astra_streamsetconnection_t connect, bool enable)</td></tr>
<tr class="separator:gae199875a19310421372967d6e63fb0ec"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:ga6fb388d952f0c3b63a5c989e7425cf30"><td class="memItemLeft" align="right" valign="top"><a id="ga6fb388d952f0c3b63a5c989e7425cf30"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_fan_flash_status</b> (astra_streamsetconnection_t connect, int32_t *value)</td></tr>
<tr class="separator:ga6fb388d952f0c3b63a5c989e7425cf30"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:ga8effbaba98d6b8643d4d698d83111a58"><td class="memItemLeft" align="right" valign="top"><a id="ga8effbaba98d6b8643d4d698d83111a58"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_get_orbbec_camera_params</b> (astra_streamsetconnection_t connect, <a class="el" href="https://developer.orbbec.com.cn/technical_library/Astra_SDK2.1.3/html/structorbbec__camera__params.html">orbbec_camera_params</a> *params)</td></tr>
<tr class="separator:ga8effbaba98d6b8643d4d698d83111a58"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:ga4a7d908e6c542ab94b7235e99a5f0dee"><td class="memItemLeft" align="right" valign="top"><a id="ga4a7d908e6c542ab94b7235e99a5f0dee"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_get_ir_gain_value</b> (astra_streamsetconnection_t connect, int32_t *value)</td></tr>
<tr class="separator:ga4a7d908e6c542ab94b7235e99a5f0dee"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
<tr class="memitem:gafed7ff2cd7b5b736b8e12bbf0b8ac75b"><td class="memItemLeft" align="right" valign="top"><a id="gafed7ff2cd7b5b736b8e12bbf0b8ac75b"></a>
ASTRA_API_EX astra_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>astra_get_ir_exposure_value</b> (astra_streamsetconnection_t connect, int32_t *value)</td></tr>
<tr class="separator:gafed7ff2cd7b5b736b8e12bbf0b8ac75b"><td class="memSeparator" colspan="2">&nbsp;</td></tr>
</tbody></table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>get information from device or set states of device. before you use this, check if the StreamSet is available. </p>
<h2 class="groupheader">函数说明</h2>
<a id="ga0b91f9222a1538fe08159855ae4686bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0b91f9222a1538fe08159855ae4686bb">◆&nbsp;</a></span>astra_distortion_enable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tbody><tr>
          <td class="memname">ASTRA_API_EX astra_status_t astra_distortion_enable </td>
          <td>(</td>
          <td class="paramtype">astra_streamsetconnection_t&nbsp;</td>
          <td class="paramname"><em>connect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"><em>status</em>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </tbody></table>
</div><div class="memdoc">
<p>set distortion </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tbody><tr><td class="paramname">status</td><td>the value can be 0, 1 or 2. </td></tr>
  </tbody></table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<hr class="footer"><address class="footer"><small>
  <strong>© 2020 <a href="https://orbbec3d.com/">Orbbec 3D</a></strong> All Rights Reserved.
</small></address>


</body></html>